/**
  @file BasicHistogramGUI.h
  @author Przemyslaw Plutecki
  @author Maciej Siczek
*/
#pragma once
#ifndef BASICHISTOGRAMGUI_H
#define BASICHISTOGRAMGUI_H

#include <QDialog>
#include <QColorDialog>
#include "ui_BasicHistogramGUI.h"
#include "../PlotWindow/PlotWindow.h"
#include "../../common/utility.h"
#include "../GlobalChartOptions/GlobalChartOptions.h"
#include <QMessageBox>

namespace LightChart
{
class BasicHistogramGUI : public QDialog, protected Ui_BasicHistogramGUI {
    Q_OBJECT
public:
    BasicHistogramGUI(QWidget* parent = 0);
    const QColor& get_color() const { return color; }
private slots:
    void onButtonBgColorClicked();
    void onButtonLineColorsClicked();
    void onButtonCancelClicked();
    void onButtonSaveClicked();
private:
    QColor color;
signals:
    void refreshCharts();
};
}

#endif // BASICHISTOGRAMGUI_H
